Importing txt file containing a list of data frames [duplicate]
This question already has an answer here:
R save and loads dataframes
1 answer
Recently, I produced a txt file containing a list of data frames using the function:
save(..., file="name")
However, I'm not sure what function and arguments to use to import it. Can you help me, please? Do you think maybe I should have saved it in a different manner?
r import
marked as duplicate by AkselA, MLavoie, Mark Rotteveel, hrbrmstr
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 25 '18 at 11:21
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
R save and loads dataframes
1 answer
Recently, I produced a txt file containing a list of data frames using the function:
save(..., file="name")
However, I'm not sure what function and arguments to use to import it. Can you help me, please? Do you think maybe I should have saved it in a different manner?
r import
marked as duplicate by AkselA, MLavoie, Mark Rotteveel, hrbrmstr
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 25 '18 at 11:21
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
At the very top of?save
it says: "The objects can be read back from the file at a later date by using the function load or attach (or data in some cases)". You can then click through toload
andattach
to see how to use them.
– AkselA
Nov 25 '18 at 1:22
add a comment |
This question already has an answer here:
R save and loads dataframes
1 answer
Recently, I produced a txt file containing a list of data frames using the function:
save(..., file="name")
However, I'm not sure what function and arguments to use to import it. Can you help me, please? Do you think maybe I should have saved it in a different manner?
r import
This question already has an answer here:
R save and loads dataframes
1 answer
Recently, I produced a txt file containing a list of data frames using the function:
save(..., file="name")
However, I'm not sure what function and arguments to use to import it. Can you help me, please? Do you think maybe I should have saved it in a different manner?
This question already has an answer here:
R save and loads dataframes
1 answer
r import
r import
edited Nov 25 '18 at 1:14
jay.sf
5,69831740
5,69831740
asked Nov 25 '18 at 1:05
SergioSergio
1
1
marked as duplicate by AkselA, MLavoie, Mark Rotteveel, hrbrmstr
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 25 '18 at 11:21
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by AkselA, MLavoie, Mark Rotteveel, hrbrmstr
StackExchange.ready(function() {
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function() {
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function() {
$hover.showInfoMessage('', {
messageElement: $msg.clone().show(),
transient: false,
position: { my: 'bottom left', at: 'top center', offsetTop: -7 },
dismissable: false,
relativeToBody: true
});
},
function() {
StackExchange.helpers.removeMessages();
}
);
});
});
Nov 25 '18 at 11:21
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
At the very top of?save
it says: "The objects can be read back from the file at a later date by using the function load or attach (or data in some cases)". You can then click through toload
andattach
to see how to use them.
– AkselA
Nov 25 '18 at 1:22
add a comment |
At the very top of?save
it says: "The objects can be read back from the file at a later date by using the function load or attach (or data in some cases)". You can then click through toload
andattach
to see how to use them.
– AkselA
Nov 25 '18 at 1:22
At the very top of
?save
it says: "The objects can be read back from the file at a later date by using the function load or attach (or data in some cases)". You can then click through to load
and attach
to see how to use them.– AkselA
Nov 25 '18 at 1:22
At the very top of
?save
it says: "The objects can be read back from the file at a later date by using the function load or attach (or data in some cases)". You can then click through to load
and attach
to see how to use them.– AkselA
Nov 25 '18 at 1:22
add a comment |
1 Answer
1
active
oldest
votes
Use load()
. Be sure to either hardcode it with load(file="X:/path/name.txt")
,
or set your working directory first according to the folder that contains your saved file before loading:
setwd("X:/path/")
load(file="name.txt")
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use load()
. Be sure to either hardcode it with load(file="X:/path/name.txt")
,
or set your working directory first according to the folder that contains your saved file before loading:
setwd("X:/path/")
load(file="name.txt")
add a comment |
Use load()
. Be sure to either hardcode it with load(file="X:/path/name.txt")
,
or set your working directory first according to the folder that contains your saved file before loading:
setwd("X:/path/")
load(file="name.txt")
add a comment |
Use load()
. Be sure to either hardcode it with load(file="X:/path/name.txt")
,
or set your working directory first according to the folder that contains your saved file before loading:
setwd("X:/path/")
load(file="name.txt")
Use load()
. Be sure to either hardcode it with load(file="X:/path/name.txt")
,
or set your working directory first according to the folder that contains your saved file before loading:
setwd("X:/path/")
load(file="name.txt")
answered Nov 25 '18 at 1:13
jay.sfjay.sf
5,69831740
5,69831740
add a comment |
add a comment |
At the very top of
?save
it says: "The objects can be read back from the file at a later date by using the function load or attach (or data in some cases)". You can then click through toload
andattach
to see how to use them.– AkselA
Nov 25 '18 at 1:22