Re: [R] R - Problem retrieving memory used after gc() using arrow library

2023-08-16 Thread Ivan Krylov
On Wed, 16 Aug 2023 11:22:00 +0200 Kévin Pemonon wrote: > I'd like to understand why there's a difference in memory used > between the Windows task manager and R's memory.size(max=F) function. When R was initially ported to Windows, then-popular version of the system memory allocator was not a g

Re: [R] R problem

2016-12-08 Thread Jim Lemon
Hi Grace, It is almost certainly a directory problem. The new R installation may be in a different directory from the old one. Does R run from the Start menu or a desktop icon? If so, look at "Properties" to discover where it is located and use the explicit path (e.g. C:\Users\Grace\R -save < IPFPU

Re: [R] R problem

2016-12-08 Thread Bert Gunter
This looks like it has nothing to do with R per se and therefore is likely OT here. Please consult your local IT resources for help. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in hi

Re: [R] R problem

2016-12-08 Thread MacQueen, Don
Since you didn't say, I'm going to assume this is Linux. One option would be to put the full path to R in the call in the EMME script. This might be, for example /usr/local/bin/R --save < IPFPUMS.R Without the asterisks before and after, unless they are a requirement of EMME (which I've never he

Re: [R] R problem : Error: protect(): protection stack overflow

2016-03-15 Thread Mohammad Tanvir Ahamed via R-help
Thanks . I have informed package maintainer. Tanvir Ahamed Göteborg, Sweden | mashra...@yahoo.com - Original Message - From: Martin Morgan To: Mohammad Tanvir Ahamed ; R-help Mailing List Sent: Tuesday, 15 March 2016, 13:26 Subject: Re: [R] R problem : Error: protect

Re: [R] R problem : Error: protect(): protection stack overflow

2016-03-15 Thread Martin Morgan
On 03/14/2016 06:39 PM, Mohammad Tanvir Ahamed via R-help wrote: Hi, i got an error while i am running a big data. Error has explained by the following sample sample This is an error in the package, and should be reported to the maintainer. Discover the maintainer with the command main

Re: [R] R problem

2015-06-18 Thread William Dunlap
Usually, along with that error message, you get a warning that gives a few details about the problem, like the name of the file and the reason it could be opened. E.g., > filename <- "no\\such\\file.blah.blah" > file(filename, "r", encoding="UTF-8") Error in file(filename, "r", encoding = "U

Re: [R] R problem

2015-01-31 Thread Chel Hee Lee
> ex <- strptime(c("2014-01-30 15:39:46", "2012-04-20 14:49:02"), format="%Y-%m-%d %H:%M:%S") > ex [1] "2014-01-30 15:39:46 CST" "2012-04-20 14:49:02 CST" > format(ex, format="%a") [1] "Thu" "Fri" > format(ex, format="%A") [1] "Thursday" "Friday" > weekdays(ex) [1] "Thursday" "Friday" > Is this

Re: [R] R problem

2015-01-31 Thread John Kane
This post should help http://stackoverflow.com/questions/9216138/find-the-day-of-a-week-in-r John Kane Kingston ON Canada > -Original Message- > From: cami090...@icloud.com > Sent: Sat, 31 Jan 2015 10:06:08 +0100 > To: r-help@r-project.org > Subject: [R] R problem > > Hi there, > I have

Re: [R] R problem: Error in data[2:4] : object of type 'closure' is not subsettable

2013-12-11 Thread Michael Sumner
That message refers to the function (closure) "data", which is a function in R and that you have not overwritten with a data.frame in that session. Note how you two versions of the code: dat1 <- read.csv("Human_Rights_Excel_Data.csv") #converted .xlsx to .csv and #data<-readcsv("HumanRightsExcel

Re: [R] R problem: Error in data[2:4] : object of type 'closure' is not subsettable

2013-12-11 Thread arun
Hi, May be this helps: dat1 <- read.csv("Human_Rights_Excel_Data.csv") #converted .xlsx to .csv mat1 <- log10(t(as.matrix(dat1[,2:4]))) mat1[!is.finite(mat1)] <- 0 par(mar=c(5,22,4,0.2)) COLOR<-c('red','brown4','black') barplot(mat1,beside=T,horiz=T,las=2,col=COLOR,main='KilingsinGaza,\nWestBank

Re: [R] R problem and help

2013-04-09 Thread arun
Hi, Try this: source("catalin2.txt") dat2$year<- as.numeric(row.names(dat2))  indx<-findInterval(dat2$year,seq(1591,1700,by=10))  #based on the last row in the dataset group<-seq(1590,1700,by=10) ind<-seq(1,length(group),by=1) labl1<-paste(group[ind],group[ind+1],sep="-") labl1<- labl1[-length(la

Re: [R] R problem nls

2012-04-09 Thread Carlos Ortega
Hi, And regarding how to extend the nls algorithm to a larger dataset it is a question of indicating in the nls() functions which data.frame to use. In you example you were using a small set of x's ad y's, so if you want to use a large set put it in a new data.frame and pass it to nls(). And if y

Re: [R] R problem nls

2012-04-09 Thread Jean V Adams
Your formula could be simplified to y ~ 1 + a * exp(-b * x) Solve this equation for x x = ln[(y - 1)/a]/b Use this equation to find the intersection point at a given value of y. For example, when y = 1.01 x = ln(0.01/a)/b Jean Karen Vandepoel wrote on 04/09/2012 0

Re: [R] R problem: unable to read data in the xls-format in the PerformAnalytics package

2012-01-11 Thread Joshua Ulrich
On Wed, Jan 11, 2012 at 2:41 AM, ysei...@bluewin.ch wrote: > Hallo > > I have the following problem > > 1) Problem: I am unable to read data in the xls-format in the PerformAnalytics > package. > While it works well for several commands, e.g. > t(table.Stats(msci_ret)) > > it does not work for oth

Re: [R] R - problem with my loops which operate on raster data

2011-05-05 Thread Michael Sumner
Stackoverflow users have attempted to help you improve your question - please don't ignore advice this with an undeclared cross-post here: http://stackoverflow.com/questions/5892548/problem-with-loops-in-r For this list "PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm

Re: [R] R problem

2010-12-07 Thread Mike Marchywka
> From: bruce...@usc.edu > To: r-help@r-project.org > Date: Tue, 7 Dec 2010 09:27:21 -0800 > Subject: [R] R problem > > I'm using R version 2.12.0 > > I'm trying to open a stata file (.dta); but I keep getting the message: > > Error in read.dta("c:/p4s

Re: [R] R-problem

2008-02-19 Thread Prof Brian Ripley
Is this a *warning* from package 'foreign'? If so it is discussed on the relevant help page (see ?read.spss). Please note the footer of this message, and the request for 'commented, minimal, self-contained, reproducible code' as well as the posting guide's request for you to do your homework a