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

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

2023-08-16 Thread Kévin Pemonon
Hello, I'm using R versions 4.1.3 on Windows 10 and I'm having a problem with memory usage. Currently, I need to use the arrow and dplyr libraries in a program and when I compare the memory used between the windows task manager and the memory.size(max=F) function, the one given by the windows

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 <

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

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

[R] R problem

2016-12-08 Thread Grace King
Hi all, I am trying to run a macro by R in a EMME script. The R macro that we wrote is called IPFPUMS.R. The whole process has been working until someone removed R. We tried to re-install R but getting the error message: “‘R’ is not recognized as an internal or external command, operable

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

2016-03-15 Thread Mohammad Tanvir Ahamed via R-help
> Sent: Tuesday, 15 March 2016, 13:26 Subject: Re: [R] R problem : Error: protect(): protection stack overflow 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

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

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

2016-03-14 Thread Mohammad Tanvir Ahamed via R-help
Hi, i got an error while i am running a big data. Error has explained by the following sample sample ## Load data mdata <- as.matrix(read.table('https://gubox.box.com/shared/static/qh4spcxe2ba5ymzjs0ynh8n8s08af7m0.txt', header = TRUE, check.names = FALSE, sep = '\t')) ## Install and

[R] R problem

2015-06-18 Thread Endy
Hi, R users. I am using windows 7 ultimate, as an OS, and the R version 3.2.0. This combination creates some problems when I run R. The problem focuses on the command ‘source’. More precisely, suppose that we have a main function, let call it mainfn, which calls within it another function, call

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 = UTF-8) :

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

[R] R problem

2015-01-31 Thread Camilla Timo
Hi there, I have a problem, i have a dataset, in which there are time series from 2010- to 2014, like this: -2014-01-30 15:39:46 -2012-04-20 14:49:02 And so on . I want to have a situation in which there are days of week expressed in word, because I have to calculate days of week and on the

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 what you are looking for? I

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')

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(HumanRightsExcelData)

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

2013-12-11 Thread andrepavlik
Human_Rights_Excel_Data.xlsx http://r.789695.n4.nabble.com/file/n4682042/Human_Rights_Excel_Data.xlsx Above is the attachment for my excel data. I am having this problem: Error in data[2:4] : object of type 'closure' is not subsettable Here is my code #data-readcsv(HumanRightsExcelData)

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(labl1)]

[R] R problem nls

2012-04-09 Thread Karen Vandepoel
Hi, I will try to explain what it is I need to do, how far I am in doing it yet and where my problem is: I have a lot of x,y values I need to fit a non linear function through. Subsequently, I need to find the intersection point of this fitted curve with y=1.01 The problem is I have a lot of

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

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

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

2012-01-11 Thread ysei...@bluewin.ch
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 other commands, e.g. x - msci_ret[, c(CH), drop = FALSE] table.Drawdowns(x)

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 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

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

2011-05-05 Thread mateokkk
library(rgdal) my_asc=dir(~/Pulpit/dods/karol/TVDI 113_121,pattern=.asc,recursive=T,full.names=T) for (i in 1:length(my_asc)) { r - readGDAL(my_asc[i]) z - as.matrix(r) vectordata[i] - mean(z) vectordatamax[i] - max(z) vectordatamin[i] - min(z) vectordev[i] - sd(z,na.rm=True) hist(z)

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

[R] R problem

2010-12-07 Thread Bruce John
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:/p4subset_biology.dta) : Calloc could not allocate (-603966867 of 4) memory What does this mean? The file should contain lots of physiological data. Thank you for your help.

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

[R] R-problem

2008-02-18 Thread Theuser, Catrin
Dear all, I encountered the following problem while using the R software: unrecognised record type 7, subtype 16 encountered in system file. Can you please help me with this? Thanks in advance, Catrin Theuser [[alternative HTML version deleted]]