Re: [R] Logistic regression for large data

2022-11-11 Thread David Winsemius
That’s not a large data set. Something else besides memory limits is going on. 
You should post output of summary(Base). 

— 
David
Sent from my iPhone

> On Nov 11, 2022, at 11:29 PM, George Brida  wrote:
> 
> Dear R users,
> 
> I have a database  called Base.csv   (attached to this email) which
> contains 13 columns and 8257 rows and whose the first 8 columns are dummy
> variables which take 1 or 0. The problem is when I wrote the following
> instructions to do a logistic regression , R runs for hours and hours
> without giving an output:
> 
> Base=read.csv("C:\\Users\\HP\\Desktop\\New\\Base.csv",header=FALSE,sep=";")
> fit_1=glm(Base[,2]~Base[,1]+Base[,10]+Base[,11]+Base[,12]+Base[,13],family=binomial(link="logit"))
> 
> Apparently, there is not enough memory to have the requested output. Is
> there any other function for logistic regression that handle large data and
> return output in reasonable time.
> 
> Many thanks
> 
> Kind regards
> 
> George
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Logistic regression for large data

2022-11-11 Thread George Brida
Dear R users,

I have a database  called Base.csv   (attached to this email) which
contains 13 columns and 8257 rows and whose the first 8 columns are dummy
variables which take 1 or 0. The problem is when I wrote the following
instructions to do a logistic regression , R runs for hours and hours
without giving an output:

Base=read.csv("C:\\Users\\HP\\Desktop\\New\\Base.csv",header=FALSE,sep=";")
fit_1=glm(Base[,2]~Base[,1]+Base[,10]+Base[,11]+Base[,12]+Base[,13],family=binomial(link="logit"))

Apparently, there is not enough memory to have the requested output. Is
there any other function for logistic regression that handle large data and
return output in reasonable time.

Many thanks

Kind regards

George
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [ESS] Tab completion for CamelCase

2022-11-11 Thread Naresh Gurbuxani via ESS-help

> 
> GNU Emacs 28.1 (build 2, x86_64-w64-mingw32) of 2022-04-21
> ess-version: 18.10.2 [] (loaded from
> c:/Users/ngurbuxani/AppData/Roaming/.emacs.d/elpa/)
> 
> When I define a CamelCase variable, tab completion works well.
> 
> myLongNameVar <- 23
> myL  completes variable name in CamelCase.
> 
> When I have CamelCase variables in a string, then tab completion ignores
> CamelCase.
> 
> myquery <- "
> SELECT aLongFieldName
> FROM myDataTable"
> 
> "aLon  completes variable name in lower case (aLongfieldname).
> 
> Is it possible to use tab completion to get CamelCase variables inside a
> string?
> 
> Thanks,
Naresh  Sent from my iPhone

> On Nov 8, 2022, at 11:09 AM, Martin Maechler  
> wrote:
> 
> 
>> 
>> Naresh Gurbuxani via ESS-help 
>>on Mon, 7 Nov 2022 17:54:58 + writes:
> 
>> My ess setup on mac works well with tab completion of CamelCase variable 
>> names.  However, on Windows, tab completes variable names with all lowercase 
>> letters.  So it does give me complete variable name, which needs some 
>> letters to be converted to uppercase.
> 
> This is strange.
> At least on regular platform, i.e., non-Windows,  ESS really
> uses base R's own completion engine and that will definitely
> differentiate lower- and upper-case,  and hence correctly treat
> CamelCase.
> 
> Which Version of ESS (and Emacs) are you talking about?
> (M-x emacs-version  /  M-x ess-version)
> 
> Martin
> 
>> Can tab completion on Windows give proper CamelCase variables?
> 
>> Thanks,
>> Naresh
__
ESS-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help


Re: [R] Plotting a triangular prism

2022-11-11 Thread Ebert,Timothy Aaron
Hi Erin,
   Note that the HTML version was deleted in RHelp. Whatever was there was not 
seen by anyone else.
   Not sure this is what you want, but try "mixture designs in R" as a google 
search. There are a number of options therein. 

Regards,
Tim

-Original Message-
From: R-help  On Behalf Of Erin Hodgess
Sent: Thursday, November 10, 2022 8:46 PM
To: r-help@r-project.org
Subject: [R] Plotting a triangular prism

[External Email]

Hello!

I'm trying to draw a triangular prism.  I have used rgl, plot3d, and it's still 
not working as I would like.

Has anyone done this, please?

Thanks for any help.

Sincerely,
Erin
--
Erin Hodgess, PhD
mailto: erinm.hodg...@gmail.com

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-helpdata=05%7C01%7Ctebert%40ufl.edu%7Ccfbe4571548b4011129008dac38689c2%7C0d4da0f84a314d76ace60a62331e1b84%7C0%7C0%7C638037279861726183%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=dQLlGf5Uf236fx75pj1PyyxV%2Fth6PWIoDxMQqfjzhYk%3Dreserved=0
PLEASE do read the posting guide 
https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.r-project.org%2Fposting-guide.htmldata=05%7C01%7Ctebert%40ufl.edu%7Ccfbe4571548b4011129008dac38689c2%7C0d4da0f84a314d76ace60a62331e1b84%7C0%7C0%7C638037279861726183%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=cvvGeOQDrPdZ7iRm8lPRKRiS4PF2q%2F4hdJYnUw34hQs%3Dreserved=0
and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Plotting a triangular prism

2022-11-11 Thread Erin Hodgess
Great, thank you!

Sincerely,
Erin

On Thu, Nov 10, 2022 at 11:56 PM Jim Lemon  wrote:

> Hi Erin,
> If you want a realistic 3D prism, I would use something like POVRay or
> other rendering software. You have to know your geometry, but you can
> get a very realistic image. I suspect that you want more than just a
> picture of a prism, so you can then generate a PNG image and use it as
> a layer in a composite image in something like the GIMP.
>
> Jim
>
> > > On Nov 10, 2022, at 5:46 PM, Erin Hodgess 
> wrote:
> > >
> > > Hello!
> > >
> > > I’m trying to draw a triangular prism.  I have used rgl, plot3d, and
> it’s
> > > still not working as I would like.
> > >
> > > Has anyone done this, please?
> > >
> > > Thanks for any help.
> > >
> > > Sincerely,
> > > Erin
>
-- 
Erin Hodgess, PhD
mailto: erinm.hodg...@gmail.com

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.