search for: ericjberger

Displaying 20 results from an estimated 199 matches for "ericjberger".

2018 Mar 04
3
Change Function based on ifelse() condtion
...#39;b') if (xx == 3) return('c') if (xx == 4) return('d') }, Apply_MC = FALSE, mc.cores = 2) Error message : Error in FUN(X[[i]], ...) : unused argument (list()) Kindly note that, with Apply_MC = TRUE, it is working perfectly. On Sun, Mar 4, 2018 at 10:45 PM, Eric Berger <ericjberger at gmail.com> wrote: > That's fine. The issue is how you called Lapply_me(). What did you pass as > the argument to FUN? > And if you did not pass anything that how is FUN declared? > You have not shown that in your email. > > > > > On Sun, Mar 4, 2018 at 7:11 PM,...
2023 Apr 14
2
Package Caret
This is the error then: error in prettyseq(1:ncol(out)) : could not find function "prettyseq" Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14. Apr. 2023, 09:06: > What happens if you do the following? > > library(caret) > > ?caret::createDataPartition > > i.e. to confirm that caret is loaded, seek help on this function > > > On Fri, Apr 14, 2023 at 9:56?AM G?bor Malomsoki...
2018 Mar 04
0
Change Function based on ifelse() condtion
...gt; if (xx == 4) return('d') > }, Apply_MC = FALSE, mc.cores = 2) > > Error message : > > Error in FUN(X[[i]], ...) : unused argument (list()) > > Kindly note that, with Apply_MC = TRUE, it is working perfectly. > > On Sun, Mar 4, 2018 at 10:45 PM, Eric Berger <ericjberger at gmail.com> > wrote: > > That's fine. The issue is how you called Lapply_me(). What did you pass > as > > the argument to FUN? > > And if you did not pass anything that how is FUN declared? > > You have not shown that in your email. > > > > > &g...
2018 Jan 27
2
Newbie wants to compare 2 huge RDSs row by row.
...Re: [R] Newbie wants to compare 2 huge RDSs row by row. > > Also, it will be easier to provide helpful information if you'd describe > what in your data you want to compare and what you hope to get out of the > comparison. > > Best wishes, > Ulrik > > Eric Berger <ericjberger at gmail.com<mailto:ericjberger at gmail.com>> schrieb > am Sa., 27. Jan. 2018, 08:18: > Hi Marsh, > An RDS is not a data structure such as a data.frame. It can be anything. > For example if I want to save my objects a, b, c I could do: > > saveRDS( list(a,b,c,), file=&qu...
2018 Jan 28
0
Newbie wants to compare 2 huge RDSs row by row.
...ailto:r-help at r-project.org> Subject: Re: [R] Newbie wants to compare 2 huge RDSs row by row. Also, it will be easier to provide helpful information if you'd describe what in your data you want to compare and what you hope to get out of the comparison. Best wishes, Ulrik Eric Berger <ericjberger at gmail.com<mailto:ericjberger at gmail.com><mailto:ericjberger at gmail.com<mailto:ericjberger at gmail.com>>> schrieb am Sa., 27. Jan. 2018, 08:18: Hi Marsh, An RDS is not a data structure such as a data.frame. It can be anything. For example if I want to save my objects a,...
2017 Nov 01
0
Function to save results
...t of Anthropology Texas A&M University College Station, TX 77843-4352 -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org<mailto:r-help-bounces at r-project.org>] On Behalf Of Priya Arasu via R-help Sent: Wednesday, November 1, 2017 9:57 AM To: Eric Berger <ericjberger at gmail.com<mailto:ericjberger at gmail.com>> Cc: r-help at r-project.org<mailto:r-help at r-project.org> Subject: Re: [R] Function to save results Hi Eric,Thanks for the explanation. Is there a way to save the results automatically after the analysis gets over?. As I recently lost...
2018 Jan 28
2
Newbie wants to compare 2 huge RDSs row by row.
...Re: [R] Newbie wants to compare 2 huge RDSs row by row. > > Also, it will be easier to provide helpful information if you'd describe > what in your data you want to compare and what you hope to get out of the > comparison. > > Best wishes, > Ulrik > > Eric Berger <ericjberger at gmail.com<mailto:ericjberger at gmail.com><mailto: > ericjberger at gmail.com<mailto:ericjberger at gmail.com>>> schrieb am Sa., 27. > Jan. 2018, 08:18: > Hi Marsh, > An RDS is not a data structure such as a data.frame. It can be anything. > For example if I w...
2017 Nov 01
3
Function to save results
...I don't want to run the sink or save command after the analysis is over rather run the command for saving the file before starting to run the analysis, so the file gets saved automatically after the script has finished running Priya ? On Wednesday, 1 November 2017 7:53 PM, Eric Berger <ericjberger at gmail.com> wrote: Hi Priya, You did not follow the logic of the pseudo-code.?The sink("filename"), sink() pair captures whatever output is generated between the first sink statement and the second sink statement.You need (possibly) to do: sink("C://Users//Priya// Desktop//A...
2018 Mar 04
2
Change Function based on ifelse() condtion
...{ return(mclapply(X, FUN, ...)) } else { if (any(names(list(...)) == 'mc.cores')) { myList = list(...)[!names(list(...)) %in% 'mc.cores'] } return(lapply(X, FUN, myList)) } } Here, I am not passing ... anymore rather passing myList On Sun, Mar 4, 2018 at 10:37 PM, Eric Berger <ericjberger at gmail.com> wrote: > Hi Christofer, > Before you made the change that I suggested, your program was stopping at > the statement: list(...) = list(..) .etc > This means that it never tried to execute the statement: > return(lapply(X,FUN,...)) > Now that you have made the chang...
2017 Nov 01
0
Function to save results
...-------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77843-4352 -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Priya Arasu via R-help Sent: Wednesday, November 1, 2017 9:57 AM To: Eric Berger <ericjberger at gmail.com> Cc: r-help at r-project.org Subject: Re: [R] Function to save results Hi Eric,Thanks for the explanation. Is there a way to save the results automatically after the analysis gets over?. As I recently lost the results, because I didn't save the results. I don't want to run...
2023 Apr 14
1
Package Caret
...n to split the dataframe to trainDF and testDF? G?bor Malomsoki <gmalomsoki1980 at gmail.com> schrieb am Fr., 14. Apr. 2023, 09:45: > > This is the error then: > error in prettyseq(1:ncol(out)) : could not find function "prettyseq" > > > > > Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14. Apr. 2023, 09:06: > >> What happens if you do the following? >> > library(caret) >> > ?caret::createDataPartition >> >> i.e. to confirm that caret is loaded, seek help on this function >> >> >> On Fri, Apr...
2018 Jan 27
3
Newbie wants to compare 2 huge RDSs row by row.
Also, it will be easier to provide helpful information if you'd describe what in your data you want to compare and what you hope to get out of the comparison. Best wishes, Ulrik Eric Berger <ericjberger at gmail.com> schrieb am Sa., 27. Jan. 2018, 08:18: > Hi Marsh, > An RDS is not a data structure such as a data.frame. It can be anything. > For example if I want to save my objects a, b, c I could do: > > saveRDS( list(a,b,c,), file="tmp.RDS") > Then read them back...
2018 Jan 28
0
Newbie wants to compare 2 huge RDSs row by row.
...uge RDSs row by row. >> >> Also, it will be easier to provide helpful information if you'd describe >> what in your data you want to compare and what you hope to get out of the >> comparison. >> >> Best wishes, >> Ulrik >> >> Eric Berger <ericjberger at gmail.com<mailto:ericjberger at gmail.com><mailto: >> ericjberger at gmail.com<mailto:ericjberger at gmail.com>>> schrieb am Sa., 27. >> Jan. 2018, 08:18: >> Hi Marsh, >> An RDS is not a data structure such as a data.frame. It can be anything. >&gt...
2018 Jan 28
1
Newbie wants to compare 2 huge RDSs row by row.
...uge RDSs row by row. >> >> Also, it will be easier to provide helpful information if you'd describe >> what in your data you want to compare and what you hope to get out of the >> comparison. >> >> Best wishes, >> Ulrik >> >> Eric Berger <ericjberger at gmail.com<mailto:ericjberger at gmail.com><mailto: >> ericjberger at gmail.com<mailto:ericjberger at gmail.com>>> schrieb am Sa., 27. >> Jan. 2018, 08:18: >> Hi Marsh, >> An RDS is not a data structure such as a data.frame. It can be anything. >&gt...
2018 Jan 27
0
Newbie wants to compare 2 huge RDSs row by row.
...ARA/RISK; r-help at r-project.org Subject: Re: [R] Newbie wants to compare 2 huge RDSs row by row. Also, it will be easier to provide helpful information if you'd describe what in your data you want to compare and what you hope to get out of the comparison. Best wishes, Ulrik Eric Berger <ericjberger at gmail.com<mailto:ericjberger at gmail.com>> schrieb am Sa., 27. Jan. 2018, 08:18: Hi Marsh, An RDS is not a data structure such as a data.frame. It can be anything. For example if I want to save my objects a, b, c I could do: > saveRDS( list(a,b,c,), file="tmp.RDS") Then re...
2018 Mar 04
0
Change Function based on ifelse() condtion
...f (any(names(list(...)) == 'mc.cores')) { > myList = list(...)[!names(list(...)) %in% 'mc.cores'] > } > return(lapply(X, FUN, myList)) > } > } > > Here, I am not passing ... anymore rather passing myList > > On Sun, Mar 4, 2018 at 10:37 PM, Eric Berger <ericjberger at gmail.com> > wrote: > > Hi Christofer, > > Before you made the change that I suggested, your program was stopping at > > the statement: list(...) = list(..) .etc > > This means that it never tried to execute the statement: > > return(lapply(X,FUN,...)) > &g...
2017 Nov 01
1
Function to save results
...-------------------- David L Carlson Department of Anthropology Texas A&M University College Station, TX 77843-4352 -----Original Message----- From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Priya Arasu via R-help Sent: Wednesday, November 1, 2017 9:57 AM To: Eric Berger <ericjberger at gmail.com> Cc: r-help at r-project.org Subject: Re: [R] Function to save results Hi Eric,Thanks for the explanation. Is there a way to save the results automatically after the analysis gets over?. As I recently lost the results, because I didn't save the results. I don't want to run...
2017 Oct 30
3
Pass Parameters to RScript?
...trying to do. Thanks for your reply. Sent from [ProtonMail](https://protonmail.com), Swiss-based encrypted email. > -------- Original Message -------- > Subject: Re: [R] Pass Parameters to RScript? > Local Time: October 30, 2017 9:39 AM > UTC Time: October 30, 2017 1:39 PM > From: ericjberger at gmail.com > To: Morkus <morkus at protonmail.com> > r-help at r-project.org <r-help at r-project.org> > > I did a simple search and got hits immediately, e.g. > https://www.r-bloggers.com/passing-arguments-to-an-r-script-from-command-lines/ > > On Mon, Oct 30, 2...
2023 Apr 14
1
Package Caret
...(), and tell us how you installed R. Your installation seems very broken. Duncan Murdoch On 14/04/2023 3:45 a.m., G?bor Malomsoki wrote: > This is the error then: > error in prettyseq(1:ncol(out)) : could not find function "prettyseq" > > > > > Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14. Apr. 2023, 09:06: > >> What happens if you do the following? >>> library(caret) >>> ?caret::createDataPartition >> >> i.e. to confirm that caret is loaded, seek help on this function >> >> >> On Fri, Apr...
2023 Apr 14
1
Package Caret
...9:56?AM G?bor Malomsoki <gmalomsoki1980 at gmail.com> wrote: > Eric, > > Yes, i know, i am calling the package, but this is not working. > I saw a similar question in Stackoverflow, advising install package Rcpp, > but this one i am unable to install. > > Eric Berger <ericjberger at gmail.com> schrieb am Fr., 14. Apr. 2023, 08:47: > >> You first have to load the package using the library command. >> > library(caret) >> >> Then you can call createDataPartition. e.g. >> > data(oil) >> > createDataPartition(oilType,2) >>...